function get_l1_data() {
	$.ajax({
		url:"/l1",
		success: function(data) {
			option_left1.series[0].data = data.pts
			option_left1.series[1].data = data.rebs
			option_left1.series[2].data = data.ast
			ec_left1.setOption(option)
		},
		error: function(xhr, type, errorThrown) {

		}
	})
}



function get_r1_data() {
	$.ajax({
		url:"/r1",
		success: function(data) {
			option_right1.series[0].data = data.pts
			option_right1.series[1].data = data.rebs
			option_right1.series[2].data = data.ast
			ec_right1.setOption(option)
		},
		error: function(xhr, type, errorThrown) {

		}
	})
}
get_r1_data()
get_l1_data()